package com.cheng.example.atguigu.design_pattern.facade;

/*
 * @author 程帅
 * @createTime: 2020/10/21 22:04
 * @Created: with IntelliJ IDEA.
 */
//环绕立体声
public class Stereo {

    private static Stereo instance = new Stereo();

    public static Stereo getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("stereo is on");
    }

    public void off() {
        System.out.println("stereo is off");
    }

    //声音调大
    public void up() {
        System.out.println("stereo is up..");
    }

}
